import Vue from 'vue'
import App from './App'
import VueRouter from 'vue-router'
import routerConfig from './router/index'

import Mock from './mock'
Mock.init()

Vue.use(VueRouter)

const router = new VueRouter({
	routes:routerConfig
})

new Vue({
  router,
  el: "#app",
  render: h => h(App)
})